package com.ruoyi.city.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 地铁线列表对象 subway_line
 * 
 * @author tzh
 * @date 2025-09-11
 */
public class SubwayLine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地铁线路ID */
    @Excel(name = "地铁线路ID")
    private Long id;

    /** 所在城市ID */
    @Excel(name = "所在城市ID")
    private Long cityId;

    /** 线路名称 */
    @Excel(name = "线路名称")
    private String name;

    /** 线路颜色 */
    @Excel(name = "线路颜色")
    private String color;

    /** 状态 */
    @Excel(name = "状态")
    private Long lineStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }

    public void setLineStatus(Long lineStatus) 
    {
        this.lineStatus = lineStatus;
    }

    public Long getLineStatus() 
    {
        return lineStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cityId", getCityId())
            .append("name", getName())
            .append("color", getColor())
            .append("lineStatus", getLineStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
